package com.dorm.cj.chain;

public class DealThree extends Deal {
    @Override
    public void deal(Integer integer) {
        if (integer == 3) {
            System.out.println("three deal with :" + integer);
        } else {
            System.out.println("anyway ,i am the last deal with" + integer);
        }
    }
}
